package com.lenovo.lcdm.type.dto;

import java.io.Serializable;

/**
 * @author huanghr2
 */
public class VerifyLocalAttrInfoDTO implements Serializable {
    private static final long serialVersionUID = -5341968318410209707L;

    private Long globalAttrId;
    private String dataType;
    private String referencedAttribute;
    private String referencedValueProvider;

    public VerifyLocalAttrInfoDTO() {}

    public VerifyLocalAttrInfoDTO(Long globalAttrId, String dataType, String referencedAttribute, String referencedValueProvider) {
        this.globalAttrId = globalAttrId;
        this.dataType = dataType;
        this.referencedAttribute = referencedAttribute;
        this.referencedValueProvider = referencedValueProvider;
    }

    public Long getGlobalAttrId() {
        return globalAttrId;
    }

    public void setGlobalAttrId(Long globalAttrId) {
        this.globalAttrId = globalAttrId;
    }

    public String getDataType() {
        return dataType;
    }

    public void setDataType(String dataType) {
        this.dataType = dataType;
    }

    public String getReferencedAttribute() {
        return referencedAttribute;
    }

    public void setReferencedAttribute(String referencedAttribute) {
        this.referencedAttribute = referencedAttribute;
    }

    public String getReferencedValueProvider() {
        return referencedValueProvider;
    }

    public void setReferencedValueProvider(String referencedValueProvider) {
        this.referencedValueProvider = referencedValueProvider;
    }

    @Override
    public String toString() {
        return "VerifyLocalAttrInfoDTO{" +
                ", globalAttrId=" + globalAttrId +
                ", dataType='" + dataType + '\'' +
                ", referencedAttribute='" + referencedAttribute + '\'' +
                ", referencedValueProvider='" + referencedValueProvider + '\'' +
                '}';
    }
}
